import request from '@/utils/request'

export function getList(data) {
  return request({
    url: '/baseNotice/getList',
    method: 'post',
    data
  })
}

export function saveNotice(data) {
  return request({
    url: '/baseNotice/save',
    method: 'post',
    data
  })
}

export function getInfo(paran) {
  return request({
    url: '/baseNotice/getInfo',
    method: 'get',
    params: paran
  })
}

export function edit(data) {
  return request({
    url: '/baseNotice/edit',
    method: 'post',
    data
  })
}

export function deleteNotice(data) {
  return request({
    url: '/baseNotice/delete',
    method: 'post',
    params: data
  })
}
